home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / ENT / DISK1536.ZIP / ZMODEM-U.BAT < prev   
DOS Batch File  |  1988-12-26  |  2KB  |  73 lines

  1. echo off
  2. rem ZMODEM-U.BAT
  3. rem
  4. rem              Zenith Z-181 laptop 2x3.5" drive version
  5. rem                       by Prof. Timo Salmi
  6. rem                          26-Nov-1988
  7. rem
  8. rem      P.O. BOX 297, University of Vaasa, SF-65101 Vaasa, Finland
  9. rem
  10. rem  The purpose of this batch is to upload a file with Procomm Plus using
  11. rem  the ZMODEM protocol with no harddisk available.
  12. rem
  13. rem  1) Put this batch file in your Procomm Plus directory (here A:\).
  14. rem
  15. rem  2) Set an External Protocol Upload Filename as ZMODEM-U in
  16. rem     Procomm Plus Protocol Options in the Setup Facility.
  17. rem     Procomm Plus setup facility is invoked by Alt-S.
  18. rem
  19. rem  3) Put the disk containing the file you are going to upload
  20. rem     in drive B:  The file must be in B:\ (i.e. the root).
  21. rem
  22. rem  4) At the remote end tell the system that you are going to upload.
  23. rem     In an Opus bulletin board simply write uz
  24. rem
  25. rem  5) In Procomm Plus by press the PageUp key and select the
  26. rem     relevant external upload protocol.
  27. rem     A ZMODEM-U parameters prompt appears. Give the name of
  28. rem     your file. NO PATHNAMES when using this batch !
  29. rem     The batch will copy your file to D:\ (I have a ramdisk in D)
  30. rem
  31. rem  6) Put the disk (here BUTILS) with DSZ.COM in directory B:\ in
  32. rem     the drive B: and press any key as instructed by the batch.
  33. rem     DSZ.COM is a marketed by Omen Technology Inc.
  34. rem
  35. rem  7) The file will be uploaded and then deleted from D:
  36. rem
  37. rem  See ZMOD-U.BAT for uploading more than one file at a go.
  38. rem
  39. rem  For more information see DSZ.DOC e.g. in DSZ1019.ARC, or later.
  40. rem  Also many public domain files contain useful advice. See e.g.
  41. rem  PRCM-DSZ.ARC, DSZOP3.ARC, Z4PCPL.ARC, DSZHOWTO.ARC, PCPZMOD.ARC, etc.
  42. rem
  43. rem  Below, change the modem port number (1) if necessary.
  44.  
  45. if not exist b:\%1 goto err_1
  46. echo on
  47. copy b:\%1 d:\
  48. echo off
  49. echo Put the disk BUTILS in drive B:
  50. pause
  51. b:\dsz CON port 1 sz d:\%1
  52. del d:\%1
  53. goto out_1
  54.  
  55. :err_1
  56. echo File b:\%1 was not found
  57. echo To proceed and view the directory: press any key
  58. pause
  59. dir/w/p b:\
  60. echo To try again
  61. echo  1) First exit by pressing any key
  62. echo  2) If the host still is receptive, invoke the upload anew by pressing
  63. echo     PgUp in Procomm, else start the whole upload process from beginning
  64. pause
  65. goto out_2
  66.  
  67. :out_1
  68. echo 
  69. echo 
  70. echo 
  71. if errorlevel 1 pause
  72. :out_2
  73. echo on